package com.dinghui.salary.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author tanrentao
 * @date 2021-09-06
 * @desc 用户登录参数
 */
@Data
@ApiModel(value = "工资类型参数")
public class SalaryTypeDTO implements Serializable {

//    @NotBlank(message = "账号不能为空")
//    @ApiModelProperty(value = "账号")
    private String id;

    @NotBlank(message = "字段名称不能为空")
    @ApiModelProperty(value = "字段")
    private String fieldName;

    @NotBlank(message = "类型名称不能为空")
    @ApiModelProperty(value = "类型")
    private String fieldDesc;

    @NotBlank(message = "字段类型不能为空")
    @ApiModelProperty(value = "字段类型")
    private String fieldType;

    @NotBlank(message = "字段长度不能为空")
    @ApiModelProperty(value = "字段长度")
    private Integer fieldSize;

}
